package com.hz.house.bean.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonInclude;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 楼盘文章
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ArticleDetailBean {

    @ApiModelProperty("主键id")
    private Integer id;

    @ApiModelProperty("文章标题")
    private String title;

    @ApiModelProperty("文章封面")
    private String coverImg;

    @ApiModelProperty("文章副标题")
    private String subTitle;

    @ApiModelProperty("发布者id")
    private Integer publisherId;

    @ApiModelProperty("文章链接")
    private String link;

    @ApiModelProperty("文章内容，富文本")
    private String content;

    @ApiModelProperty("是否置顶，0否1是，默认0")
    private Integer isTop;

    @ApiModelProperty("文章类型")
    private Integer type;

    @ApiModelProperty("文章展示类型，1外链，2富文本")
    private Integer showType;

    private String publisherName;

    private String headImg; // 发布者头像

    private Integer buildingId;

    private String buildingName;

    private Date createTime;

    private Date updateTime;

    private String showTime;

}